#!/bin/sh

rm -f instance/AC/client/aspect_policy.cfg
yes|cp instance/AC/client/aspect_policy.cfg.keyexchange instance/AC/client/aspect_policy.cfg 

killall -9 envset_proc

sleep 1

sh run_cubetcm.sh exec_def/_PM_trust.def &
sleep 1
sh run_cube.sh exec_def/_PM_server.def login.msg &
sleep 1
sh run_cubetcm.sh exec_def/_AC_trust.def &
sleep 3
sh run_cube.sh exec_def/_AC_client.def login.msg key_exchange.msg 
